package io.bdmc.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 系统配置信息表 实体
 * </p>
 *
 * @author ping
 * @since 2020-06-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
// "SysConfig对象", description = "系统配置信息表")
public class SysConfig extends Model<SysConfig> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    // "key")
    private String key;

    // "value")
    private String value;

    // "状态 0：隐藏 1：显示")
    private Integer status;

    // "备注")
    private String remark;

    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
